<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>4.关于函数的返回值</title>
  </head>
  <body>
    <script type="text/javascript" >

      function test1 (){
       return setTimeout(() => {
        return 666
       }, 2000);
      }


      let result1 = test1()
      console.log(result1)

    </script>
  </body>
</html>